package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Click;
import cn.wolfcode.trip.base.query.ClickQueryObject;
import cn.wolfcode.trip.base.query.CollectionceQueryObject;

import java.util.List;

public interface ClickMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Click record);

    Click selectByPrimaryKey(Integer id);

    List<Click> selectAll();

    int updateByPrimaryKey(Click record);

    int selectId(CollectionceQueryObject qo);

    void save(CollectionceQueryObject qo);

    void save1(CollectionceQueryObject qo);

    void save2(CollectionceQueryObject qo);

    void delete(CollectionceQueryObject qo);

    void delete1(CollectionceQueryObject qo);

    void delete2(CollectionceQueryObject qo);

    List<Click> query(ClickQueryObject qo);

    Integer getNoReadCount(Long userId);

    void setRead(Long userId);

    Integer selsectId(Long strategyId);


}